package com.gidgabs.modules.api.service.impl;

import com.gidgabs.modules.api.service.TbOrderSuperService;
import com.gidgabs.modules.dao.TbOrderSuperDao;
import com.gidgabs.modules.entity.TbOrderSuperEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TbOrderSuperServiceImpl implements TbOrderSuperService {
	@Autowired
	private TbOrderSuperDao orderSuperDao;
	
	@Override
	public TbOrderSuperEntity queryObject(Integer id){
		return orderSuperDao.queryObject(id);
	}
	
	@Override
	public List<TbOrderSuperEntity> queryList(Map<String, Object> map){
		return orderSuperDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return orderSuperDao.queryTotal(map);
	}
	
	@Override
	public void save(TbOrderSuperEntity orderSuper){
		orderSuperDao.save(orderSuper);
	}
	
	@Override
	public void update(TbOrderSuperEntity orderSuper){
		orderSuperDao.update(orderSuper);
	}
	
	@Override
	public void delete(Integer id){
		orderSuperDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		orderSuperDao.deleteBatch(ids);
	}
	
}
